package com.chpro.scsw.service;

import java.util.List;

import com.chpro.scsw.model.ArticleModel;

public interface IArticleService {

	/**
	 * 得到所有文章数据
	 * @return
	 * @throws Exception
	 */
	public List<ArticleModel> queryArticleAll(ArticleModel articleModel) throws Exception;
	
	/**
	 * 根据ID得到文章实体
	 * @param articleId
	 * @return
	 * @throws Exception
	 */
	public ArticleModel queryArticleById(ArticleModel articleId) throws Exception;

    /**
     * 最新
     * @return
     * @throws Exception
     */
    public abstract List<ArticleModel> queryArticleNew() throws Exception;

    /**
     * 最热
     * @return
     * @throws Exception
     */
    public abstract List<ArticleModel> queryArticleHeat() throws Exception;
	
}
